package view;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JButton;
import java.awt.Font;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

public class FrmSelecionaHospede extends JFrame {

	private JPanel contentPane;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					FrmSelecionaHospede frame = new FrmSelecionaHospede();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public FrmSelecionaHospede() {
		setTitle("H\u00F3spede");
		setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
		setBounds(100, 100, 278, 242);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JButton btnCadastrarHospedes = new JButton("Manuten\u00E7\u00E3o");
		btnCadastrarHospedes.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				FrmCadHospede formCad = new FrmCadHospede();
				formCad.setVisible(true);
			}
		});
		btnCadastrarHospedes.setFont(new Font("Tahoma", Font.PLAIN, 21));
		btnCadastrarHospedes.setBounds(10, 11, 241, 86);
		contentPane.add(btnCadastrarHospedes);
		
		JButton btnListaCompletaHospedes = new JButton("Lista Completa");
		btnListaCompletaHospedes.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				JFrameListaCompletaHospede formCad = new JFrameListaCompletaHospede();
				formCad.setVisible(true);
			}
		});
		btnListaCompletaHospedes.setFont(new Font("Tahoma", Font.PLAIN, 21));
		btnListaCompletaHospedes.setBounds(10, 108, 241, 89);
		contentPane.add(btnListaCompletaHospedes);
	}

}
